package gr.gsis.cobol.spec;

import java.util.List;

public class RecordSpec {

	private final char recordType;
	
	private final List<FieldSpec> fieldSpecs;
	
	private final String className;
	
	public RecordSpec(char recordType, List<FieldSpec> fieldSpecs, String className) {
		this.recordType = recordType;
		this.fieldSpecs = fieldSpecs;
		this.className = className;
	}
	
	public char getRecordType() {
		return recordType;
	}
	
	public List<FieldSpec> getFieldSpecs() {
		return fieldSpecs;
	}
	
	public String getClassName() {
		return className;
	}
	
}
